package cn.chiship.framework.upms.biz.system.pojo.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * @author LiJian
 * 发送测试邮件
 */
@ApiModel(value = "发送测试邮件表单")
public class UpmsEmailSendTestDto {

    @ApiModelProperty(value = "邮箱配置主键",required = true)
    @NotNull
    @Length(min = 1)
    private String id;

    @ApiModelProperty(value = "收件人",required = true)
    @NotNull
    @Length(min = 1)
    private String toAddress;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getToAddress() {
        return toAddress;
    }

    public void setToAddress(String toAddress) {
        this.toAddress = toAddress;
    }
}
